package com.zhouyu.service;

import com.zhouyu.spring.*;

@Component("userService")
@Scope("singleton")
public class Userservice implements UserInterface {

    @Autowired
    private OrderService orderService;


    public void test(){
        System.out.println("注入的："+orderService);
    }
}
